﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Betfairer
{
    public class MarketDao
    {
        public Market GetMarket(Int32 marketId)
        {

            return null;
        }

        public List<Market> GetMarkets(Int32 eventId)
        {
            return GetMarkets(eventId, DateTime.UtcNow.Date, DateTime.UtcNow.Date.AddDays(1));
        }

        public List<Market> GetMarkets(Int32 eventId, DateTime fromDate, DateTime toDate)
        {
            return Global.Instance.GetMarkets(eventId, fromDate, toDate);
        }
    }
}
